<style>
 /*验证：提示信息样式 begin*/
 .am-alert-danger {
    background-color: transparent;
    border-color: transparent;
    color: red;
  }
  .am-alert {
    margin-bottom: 1em;
    padding: .625em;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  /*验证：提示信息样式 end*/
  /*附件上传*/
  .am-progress-xs {
    height: .2rem;
  }
  .am-progress {
    margin-bottom: 0;
  }
</style>






<div class="am-g am-form-group am-margin-top">
  <div class="am-u-sm-4 am-u-md-2 am-text-right">
    <span style="color: red;">*</span>导入Excel表数据
  </div>
  <div class="am-u-sm-6 am-u-md-6">
    <input type="hidden" id="promo_img" name="img" value="${promotion.img!''}"  readonly  required/>
       <div class="am-form-file am-text-xs">
           <button type="button" class="am-btn am-btn-primary am-btn-sm">
            <i class="am-icon-cloud-upload"></i> 选择要上传的Excel文件
           </button>
           <input id="promo_fileupload" type="file" name="files[]" multiple><span style="color:red;">* 仅支持上传文件类型(.xls,.xlsx)</span>
      </div>
       <div id="progress-area" class="am-margin-top-sm am-hide" >
           <div id="progress-text" class="am-text-xs am-text-right"></div>
             <div id="progress" class="am-progress am-progress-xs">
             <div class="am-progress-bar" style="width: 0%"></div>
           </div>
     </div>
  </div>
  <div class="am-u-sm-2 am-u-md-4 input-msg" id="image_valid"></div>
</div>



<div class="am-g am-form-group am-margin-top" id="error_div" style="display:none;">
    <div class="am-u-sm-4 am-u-md-2 am-text-right">
        <span style="color: red;"></span>错误信息
    </div>
    <div class="am-u-sm-6 am-u-md-6">
           <div id="errorLogs">

           </div>
    </div>
    <div class="am-u-sm-2 am-u-md-4 input-msg"></div>
</div>




